AmpProject\AmpWP\Infrastructure\ServiceBasedPlugin A

Total Complexity 69
Dependencies 12
Dependents 0
Total lines 658
Lines of code 267
Logical lines of code 132
Comment lines 282
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
configure_injector()
A
46 7 45
maybe_register_service()
A
56 8 17
validate_services()
A
57 8 17
register_services()
S
50 6 30
requirements_are_met()
S
51 6 29
instantiate_service()
S
54 6 24
collect_missing_requirements()
S
60 4 14
__construct()
S
61 4 12
schedule_potential_service_registration()
S
59 3 17
activate()
S
66 3 9
deactivate()
S
66 3 9
register()
S
65 2 10
maybe_resolve()
S
71 2 6
get_identifier_from_fqcn()
S
64 1 10
get_container()
S
82 1 3
get_service_classes()
S
82 1 3
get_bindings()
S
82 1 3
get_arguments()
S
82 1 3
get_shared_instances()
S
82 1 3
get_delegations()
S
82 1 3